package com.hoshiicloud.market.entity.commission;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;

/**
 * @Author:campchen
 * @Date:Created in 下午 04:04 2019/7/25
 * @PACKAGENAME com.hoshiicloud.user.entity.commission
 * @Description
 */
//奖励
@Data
public class Reward {
    @ApiModelProperty(value = "获得人")
    String get_people;  //获得人
    @ApiModelProperty(value = "消费者")
    ArrayList<BigInteger> condition_consumer_level;  //消费者
    @ApiModelProperty(value = "消费标签")
    ArrayList<BigInteger> condition_consumer_tag;  //消费标签
    @ApiModelProperty(value = "奖励方式")
    REWARD_WAY Type; //奖励方式
    @ApiModelProperty(value = "奖励来源")
    REWARD_SRC source; //奖励来源
    @ApiModelProperty(value = "奖励金额")
    BigDecimal amount; //奖励金额

    @Override
    public String toString() {
        return "{" +
                "\"get_people\":\"" + get_people + '\"' +
                ",\"condition_consumer_level\":" + condition_consumer_level +
                ", \"condition_consumer_tag\":" + condition_consumer_tag +
                ", \"Type\":\"" + Type + '\"' +
                ", \"source\":\"" + source + '\"' +
                ", \"amount\":\"" + amount + '\"' +
                '}';
    }
}
